using System;
using System.Runtime.InteropServices;
using System.Security.Permissions;
using Microsoft.SharePoint;
using Microsoft.SharePoint.Security;
using RENIT.WebParts.TagsCloud3D.Utils;

namespace RENIT.WebParts.TagsCloud3D.Features.TagsCloud3D.FilesDeploy
{
    [Guid("1d07550c-4b6c-4fc9-8abc-cf4683d31047")]
    public class TagsCloud3DEventReceiver : SPFeatureReceiver
    {
        public override void FeatureDeactivating(SPFeatureReceiverProperties properties)
        {
            new FeatureDeploymentHelper(properties).UnDeployFileFrom(SPListTemplateType.WebPartCatalog, "TagsCloud3DWebPart.dwp");
        }
    }
}
